import request from '@/utlis/request'

export const regAPI = (data) => {
  return request.post('/api/reg', data)
}
export const loginAPI = data => request.post('/api/login', data)

// 到出获取用户信息方法
export const getUserAPI = () => request.get('/my/userinfo')
